<template>
    <van-button class="mybutton" type="default" @click="toMine">我的预约 </van-button>
    <van-button class="mybutton" type="default" @click="toMsg">我的消息</van-button>
    <van-cell-group>
        <van-cell center is-link @click="toProblem">
            <template #title>
                <span class="custom-title">动态要闻</span>
            </template>
        </van-cell>
        <van-cell center is-link @click="toFeedback">
            <template #title>
                <span class="custom-title">意见反馈</span>
            </template>
        </van-cell>
        <!-- <van-cell center is-link @click="toLogin">
            <template #title>
                <span class="custom-title">登录（待完善）</span>
            </template>
        </van-cell> -->

        <van-cell center is-link @click="goOut">
            <template #title>
                <span class="custom-title">退出</span>
            </template>
        </van-cell>

    </van-cell-group>
</template>

<script setup lang='ts'>
import { toProblem, toFeedback, toMsg, toMine, goOut } from '../../api/MyUserApi'
</script>

<style scoped lang='scss'>

</style>


